namespace java com.to8to.thrift.esb.async.example


struct TState
{
    1:i32 seqid
    2:double b
    3:double c
    4:double d
}

//////假设 服务A的实现需要调用服务B,C,D, 对应关系为: A=(B+C)*D
service ServiceA
{
    double valueA(1:double b, 2:double c, 3:double d)
    double plus(1:double a, 2:double b)
}

service ServiceB
{
    double valueB(1:double b)
}

service ServiceC
{
    double valueC(1:double c)
}

service ServiceD
{
    double valueD(1:double d, 2:double b_plus_c)
}